package com.wty.cmims.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName orders
 */
@TableName(value ="orders")
@Data
public class Orders implements Serializable {
    /**
     * 订单ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 居民ID
     */
    private Integer residentId;

    /**
     * 医疗机构ID
     */
    private Integer institutionId;

    /**
     * 购买药品名称和数量
     */
    private String medications;

    /**
     * 订单金额
     */
    private BigDecimal orderPrice;

    /**
     * 下单时间
     */
    private Date orderTime;

    /**
     * 是否已支付
     */
    private Integer isPay;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}